Skip to content

Plan pages show what needs you, in order, from states that follow the work - #467

Merged
nambok merged 1 commit into
mainfrom
plans-follow-the-work
Nov 22, 2026
Merged

nambok merged 1 commit into
mainfrom
plans-follow-the-work

Conversation

@nambok

@nambok nambok commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

The plan pages show what a person needs, in order, from task states that follow the work (CoderHelm/coderhelm-platform#800). A plan reads Done only when every task merged or was dropped; everything waiting on a person is listed with its exact ask and button; each task shows its pull requests as chips coloured by checks and review, its attempts and cost.

Changes

  • Plan page, in order: the goal and one status line (state, count line, cost over runs, last activity) with the main action and a bar of tasks by state; a Needs you strip, shown only when something waits on a person, each row the exact ask with its button (answer on the run page, review, approve or merge pull request #n, see the checks, retry or drop a failed task with its reason, approve the drafts left), gone once handled; What done means, the success criteria with the tasks that cover them and their evidence; the tasks; the spec below, open while the plan is a draft and folded once it runs; details.
  • Tasks: state mark and word, the one line of what it does or waits on, pull request chips (green ready, yellow waiting on checks or review, red failing, purple merged, grey closed) with their size, attempts, cost, criteria covered, and marks for changes after approval with who made them. Finished tasks are faded. More than eight tasks are grouped by state with what needs you first and merged work folded; the open task and folded groups are remembered per plan. An open task lists every attempt.
  • Approval: drafts keep Approve and Drop after the plan starts, so approving one task never strands the rest. Approve and start shows the expected runs and cost range on the page and in its confirmation; approving one task, Retry and Start now confirm with what a run costs. Retry on a task whose ticket was filed retries its run instead of filing a second ticket.
  • Plans list: each row shows the count line, a bar by state, cost and how many things need you, with no description; Active counts plans that are running or stalled, and Needs you, Drafting and Done are their own toggles. Plans that need you are listed first.
  • No message box on the plan page: the platform cannot send a note to a running run yet. The tasks section and the docs say to comment on the pull request or answer on the run page instead.
  • Docs: the plans page rewritten to match (states, chips, needs, criteria, drift, estimate, steering, older plans), a changelog entry, and the landing copy that describes plans.
  • src/lib/openapi-fields.ts regenerated from the platform branch, so the API contract check knows the new fields.

Verification

  • npm run typecheck, npm run lint, npm run check:openapi.
  • Plans e2e specs updated (the list, the draft plan, approval, Done) and new ones for the Needs you strip (each exact ask, Retry confirming with the cost and retrying the run, the strip gone once handled), pull request chips (tone, checks, review and size in their names), one-task approval leaving the drafts approvable, and grouping with the remembered open state. The code-block specs that read the plan spec pass unchanged.
  • Screenshots at 1280 and 390 px wide with fixtures: the list, a draft plan, a plan at work, a done plan.

… work

The plan page leads with the goal, one status line and the main action,
then a Needs you strip (each item the exact ask with its button), the
success criteria with their evidence, and the tasks with their state,
pull request chips coloured by checks and review, attempts, cost and
marks for changes after approval. Finished tasks fade, a long plan is
grouped by state with the open task and folds remembered, and the spec
folds below once the plan runs.

Drafts stay approvable after the plan starts. Approve and start shows
the expected runs and cost range; approving one task, Retry and Start
now confirm with what a run costs, and Retry retries a filed task's run.

The plans list shows progress by state, what needs you and the cost,
with a true Active filter. Docs, changelog and landing copy match.
@nambok
nambok merged commit 9250451 into main Nov 22, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant